hello,
after several years I consider to develop my next insim application. This time it should be a small one, but different things seem to be impossible unfortunately.
Short description of what I want to do: When racing on different servers with different cars on different tracks I am used from Grand Prix Legends (what I was racing for several years), that the game remembered that last used setup for every track and every car. LFS does not, and I feel it very annoying, so I was going to develop a "setup buddy": every time the track changes or I select a different car, then the setup buddy automatically selects the last setup that I have used for this combo.
In principle this is possible, I can read the setup out of the cfg.txt file and I can change the setup with the /setup command. The problems are, that I cannot detect reliably, when I am in the garage screen and (much worse) that I cannot detect a car change within the garage screen. I get a notification in the moment, when the user leaves the garage (with a ISP_NPL, but this is too late), but not when the user returns to the garage screen from the screen, where we can select the cars. I was playing the whole day with insim, captured a lot of insim traffic, but there was no appropriate notification, that could solve my problems.
Use of this tool could become quit intricately (e.g. change car=>leave garage=>reenter garage=>tool selects correct setup=> leave garage again and race..). So if I do not find a appropriate solution to detect car changes, maybe it would be better to write it in the Improvement Suggestions forum as a request instead of trying to develop an insim tool.
Any ideas, suggestions or hints? Any help would be very appreciated.
With kind regards
Soeren